package com.cloudlead.utils.messages.push;

/**
 * Created by Dean on 2015/4/24.
 */
public class MessagePushServerException extends RuntimeException {
    private long requestId;

    private int errorCode;

    private String errorMsg = null;

    public MessagePushServerException() {
    }

    public MessagePushServerException(long requestId, int errorCode, String errorMsg) {
        this.requestId = requestId;
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public long getRequestId() {
        return requestId;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
